package com.shwread.android.ui.dialog;

import android.app.Activity;
import android.content.Context;
import android.view.View;

import com.shwread.android.qysw10000227.R;


public class ReadOverDialog extends CommonDialog {
    private Activity activity;

    public ReadOverDialog(Context context) {
        super(context);
        setCancelable(false);
        activity = (Activity) context;
        tvOk.setText("关闭");
        tvText.setText(R.string.dialog_book_readover_text);
    }

    @Override
    protected void clickOk(View v) {
        super.clickOk(v);
        activity.finish();
    }

    @Override
    protected void clickCancel(View v) {
        super.clickCancel(v);
    }
}
